package com.itheima.day02.ZuoYe.ZuoYe_4;

public class Dog extends Animals implements swimgame{
    public Dog() {
    }

    public Dog(int age) {
        super(age);
    }

    @Override
    public void eat() {
        System.out.println("啃骨头");
    }
    @Override
    public void swim() {
        System.out.println("狗刨");
    }
}
